{% extends "base.html" %}
{% block title %}
    登录或者创建一个新用户
  &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<span class="red">{{ infos }}</span>
{% endblock %}
{% block content %}
    <div class="registe-box mt15">
        <div class="con">
            <h3><i class="fa fa-file-o mr10"></i><b>新用户</b></h3>
            <div><hr></div>
            <p class="mt10 mb10">登录帐户，您将能够通过污染修复技术管理系统添加最新的修复技术,还可以查看,对比,下载最新的技术。</p>
        </div>

        <div class="box-footer clearfix">
            <a href="/register/"><input class="fr" type="submit" value="" style="opacity: 0;"></a>
        </div>
    </div>
    <div class="login-box mt15">
        <form method="post" action="/login_validation/">
            <div class="con">
                <h3><i class="fa fa-file-text-o mr10"></i><b>登陆</b></h3>
                <div><hr></div>
                <p class="mt10 mb10">如果您已经拥有一个注册了的账号,请登录!</p>
                <div>
                    <div>用户名 <span class="red">*</span></div>
                    <input id="user_name" name="username" type="text" palcehoder=""><span class="red"></span>
                    <div class="mt10">密码 <span class="red">*</span></div>
                    <input id="user_psw" name="password" type="password" palcehoder=""><span class="red"></span>
                </div>
                <p class="fr mt10 clearfix"><span class="red">* 必须填写区域</span></p>
                <p class="fr mt10 clearfix"><span class="red">{{ info }}</span></p>
            </div>
            <div class="box-footer clearfix">
{#                <a class="fl" href="#">忘记了您的密码?</a>#}
                <input id="log_submit" class="fr" type="submit" value="登 录">
            </div>
        </form>
    </div>
    
{% endblock %}